package com.dementors.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.LinearLayout;

import com.dementors.R;

/**
 * ***********************
 * author:raochen
 * time:2015/12/7.
 * name:
 * step:
 * ***********************
 */
public class ToTopButton  extends LinearLayout{
    private Context context;
    public ToTopButton(Context context) {
       this(context,null);
    }

    public ToTopButton(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public ToTopButton(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        this.context=context;
        LayoutInflater.from(context).inflate(R.layout.totopbutton,this,true);
    }
}
